forked from neonevm/neon-evm.docs
-
Notifications
You must be signed in to change notification settings - Fork 9
40 lines (39 loc) · 1.2 KB
/
update_qa_stand.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Update QA Stand
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ["self-hosted", "k8s-prod"]
strategy:
matrix:
node-version: [18]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Setup yarn
run: npm install -g yarn
- name: Install modules
run: |
yarn install
- name: Check external links
run: |
find ./README.md ./docs/ -regex ".*.[md|mdx]" -print0 | xargs -0 -n1 \
./node_modules/markdown-link-check/markdown-link-check --config linkcheck.config.json -q
- name: Build
run: |
yarn clear
yarn build
- name: Deploy to s3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --delete
env:
AWS_S3_BUCKET: ${{secrets.QA_AWS_S3_BUCKET}}
AWS_ACCESS_KEY_ID: ${{secrets.QA_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.QA_AWS_SECRET_ACCESS_KEY}}
AWS_REGION: ${{secrets.QA_AWS_REGION}}
SOURCE_DIR: "build"