Update publish.yml

This commit is contained in:
Phil 2025-09-12 15:42:27 +02:00 committed by GitHub
parent 294f6e72a0
commit 3eb50dbdd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,9 @@ on:
push:
branches: [main]
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
@ -13,9 +16,9 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: "20.x"
- uses: webfactory/ssh-agent@v0.5.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
#- uses: webfactory/ssh-agent@v0.5.0
# with:
# ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Release to GitHub Pages
working-directory: foomo
env: