generated from microsoft/vscode-remote-try-node
-
Notifications
You must be signed in to change notification settings - Fork 4
29 lines (24 loc) · 992 Bytes
/
update-map.yaml
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
on:
workflow_dispatch:
#schedule:
# - cron: '15 12 1 * *' # <-- Set your cron here (UTC), for syntax see https://crontab.guru/
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
# - name: Set up Python 3.x
# uses: actions/setup-python@v4
# with:
# python-version: '3.x'
- name: Process data
run: make all
- name: Upload to S3
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# More about secrets at: https://docs.github.com/en/actions/security-guides/encrypted-secrets
run: (cd ./data && aws s3 sync . s3://$AWS_S3_BUCKET/inflation-map --acl public-read --follow-symlinks --delete --region us-east-1) # <-- remove "--delete" if you want to keep archived files