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
9bd904ffea
commit
8cb7984020
10
.github/workflows/publish.yml
vendored
10
.github/workflows/publish.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v5
|
||||
with:
|
||||
node-version: "20.x"
|
||||
#- uses: webfactory/ssh-agent@v0.5.0
|
||||
@ -23,12 +23,12 @@ jobs:
|
||||
# ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
|
||||
- name: Release to GitHub Pages
|
||||
working-directory: foomo
|
||||
#env:
|
||||
env:
|
||||
#USE_SSH: true
|
||||
#GIT_USER: git
|
||||
GIT_USER: git
|
||||
run: |
|
||||
git config --global user.email "publisher@foomo.org"
|
||||
git config --global user.name "gh-actions"
|
||||
git config user.email "publisher@foomo.org"
|
||||
git config user.name "gh-actions"
|
||||
if [ -e yarn.lock ]; then
|
||||
yarn install --frozen-lockfile
|
||||
elif [ -e package-lock.json ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user