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
3eb50dbdd0
commit
9bd904ffea
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@ -12,7 +12,9 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "20.x"
|
||||
@ -21,9 +23,9 @@ jobs:
|
||||
# ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
|
||||
- name: Release to GitHub Pages
|
||||
working-directory: foomo
|
||||
env:
|
||||
USE_SSH: true
|
||||
GIT_USER: git
|
||||
#env:
|
||||
#USE_SSH: true
|
||||
#GIT_USER: git
|
||||
run: |
|
||||
git config --global user.email "publisher@foomo.org"
|
||||
git config --global user.name "gh-actions"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user