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
|
- 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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user