0
0
mirror of https://gitea.com/gitea/docs.git synced 2025-03-17 21:54:21 +00:00

Update CI (#117)

Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
Reviewed-on: https://gitea.com/gitea/gitea-docusaurus/pulls/117
Reviewed-by: delvh <dev.lh@web.de>
This commit is contained in:
Lunny Xiao
2024-03-16 03:52:16 +00:00
parent 9e2261d549
commit 370bb063b7
2 changed files with 5 additions and 3 deletions

@ -15,7 +15,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
cache: npm
- name: install necessary tools - name: install necessary tools
run: | run: |
apt update -y && apt install -y rsync python python3-pip apt update -y && apt install -y rsync python python3-pip
@ -43,7 +44,7 @@ jobs:
run: | run: |
make build make build
- name: aws credential configure - name: aws credential configure
uses: https://github.com/aws-actions/configure-aws-credentials@v4 uses: aws-actions/configure-aws-credentials@v4
with: with:
aws-access-key-id: ${{ secrets.AWS_KEY_ID }} aws-access-key-id: ${{ secrets.AWS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY}} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY}}

@ -10,7 +10,8 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 20
cache: npm
- name: install necessary tools - name: install necessary tools
run: | run: |
apt update -y && apt install -y rsync python python3-pip apt update -y && apt install -y rsync python python3-pip