Update publish.yml

This commit is contained in:
Kevin Franklin Kim 2025-09-12 15:49:11 +02:00 committed by GitHub
parent 9bd904ffea
commit 8cb7984020
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v1 - uses: actions/setup-node@v5
with: with:
node-version: "20.x" node-version: "20.x"
#- uses: webfactory/ssh-agent@v0.5.0 #- uses: webfactory/ssh-agent@v0.5.0
@ -23,12 +23,12 @@ jobs:
# ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} # ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Release to GitHub Pages - name: Release to GitHub Pages
working-directory: foomo working-directory: foomo
#env: env:
#USE_SSH: true #USE_SSH: true
#GIT_USER: git GIT_USER: git
run: | run: |
git config --global user.email "publisher@foomo.org" git config user.email "publisher@foomo.org"
git config --global user.name "gh-actions" git config user.name "gh-actions"
if [ -e yarn.lock ]; then if [ -e yarn.lock ]; then
yarn install --frozen-lockfile yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then elif [ -e package-lock.json ]; then