Merge remote-tracking branch 'origin/master' into develop
commit
d170a1c0e2
|
@ -25,18 +25,13 @@ jobs:
|
||||||
- name: Generate API Data
|
- name: Generate API Data
|
||||||
run: qmk generate-api
|
run: qmk generate-api
|
||||||
|
|
||||||
- name: Install rsync
|
|
||||||
run: |
|
|
||||||
apt-get update && apt-get install -y rsync
|
|
||||||
|
|
||||||
- name: Upload API Data
|
- name: Upload API Data
|
||||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
uses: jakejarvis/s3-sync-action@master
|
||||||
with:
|
with:
|
||||||
ACCESS_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
|
args: --acl public-read --follow-symlinks --delete
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
env:
|
||||||
BRANCH: main
|
AWS_S3_BUCKET: ${{ secrets.API_SPACE_MASTER }}
|
||||||
FOLDER: api_data/v1
|
AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY }}
|
||||||
CLEAN: true
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_KEY }}
|
||||||
GIT_CONFIG_EMAIL: hello@qmk.fm
|
AWS_S3_ENDPOINT: https://nyc3.digitaloceanspaces.com
|
||||||
REPOSITORY_NAME: qmk/qmk_keyboards
|
SOURCE_DIR: 'api-data'
|
||||||
TARGET_FOLDER: v1
|
|
||||||
|
|
|
@ -25,18 +25,13 @@ jobs:
|
||||||
- name: Generate API Data
|
- name: Generate API Data
|
||||||
run: qmk generate-api
|
run: qmk generate-api
|
||||||
|
|
||||||
- name: Install rsync
|
|
||||||
run: |
|
|
||||||
apt-get update && apt-get install -y rsync
|
|
||||||
|
|
||||||
- name: Upload API Data
|
- name: Upload API Data
|
||||||
uses: JamesIves/github-pages-deploy-action@3.7.1
|
uses: jakejarvis/s3-sync-action@master
|
||||||
with:
|
with:
|
||||||
ACCESS_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
|
args: --acl public-read --follow-symlinks --delete
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
env:
|
||||||
BRANCH: main
|
AWS_S3_BUCKET: ${{ secrets.API_SPACE_DEVELOP }}
|
||||||
FOLDER: api_data/v1
|
AWS_ACCESS_KEY_ID: ${{ secrets.SPACES_ACCESS_KEY }}
|
||||||
CLEAN: true
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.SPACES_SECRET_KEY }}
|
||||||
GIT_CONFIG_EMAIL: hello@qmk.fm
|
AWS_S3_ENDPOINT: https://nyc3.digitaloceanspaces.com
|
||||||
REPOSITORY_NAME: qmk/qmk_keyboards_devel
|
SOURCE_DIR: 'api-data'
|
||||||
TARGET_FOLDER: v1
|
|
||||||
|
|
Loading…
Reference in New Issue