mirror of
https://github.com/foomo/foomo-docs.git
synced 2025-10-16 12:35:40 +00:00
Update publish.yml
This commit is contained in:
parent
294f6e72a0
commit
3eb50dbdd0
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -13,9 +16,9 @@ jobs:
|
|||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: "20.x"
|
node-version: "20.x"
|
||||||
- uses: webfactory/ssh-agent@v0.5.0
|
#- uses: webfactory/ssh-agent@v0.5.0
|
||||||
with:
|
# with:
|
||||||
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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user