Skip to content

Commit

Permalink
Use action for promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
pluma4345 committed May 15, 2024
1 parent e007d55 commit 107287a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- name: Checkout current commit
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
ARANGO_LICENSE_KEY: ${{ secrets.ARANGO_LICENSE_KEY }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: apk add jq
- run: npm install -g npm@10
- run: npm install
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
ARANGO_NO_AUTH: 1

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: apt-get update && apt-get install jq wget gnupg -y
- run: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
- run: sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
Expand All @@ -78,9 +78,11 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- run: git fetch . HEAD:stable
- run: git push origin stable
- uses: Embraser01/[email protected]
with:
branch: stable
githubToken: ${{ secrets.GH_TOKEN }}

0 comments on commit 107287a

Please sign in to comment.