mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
This commit is contained in:
parent
63d33b40d0
commit
13a5bd008e
1 changed files with 9 additions and 1 deletions
10
.github/workflows/build_deploy.yml
vendored
10
.github/workflows/build_deploy.yml
vendored
|
@ -59,9 +59,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: J40Static
|
name: J40Static
|
||||||
path: ./public
|
path: ./public
|
||||||
- name: Deploy 🚀
|
- name: Deploy to Github Pages
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.0
|
uses: JamesIves/github-pages-deploy-action@4.1.0
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
BRANCH: gh-pages # The branch the action should deploy to.
|
BRANCH: gh-pages # The branch the action should deploy to.
|
||||||
FOLDER: public # The folder the action should deploy.
|
FOLDER: public # The folder the action should deploy.
|
||||||
|
- name: Configure AWS Credentials
|
||||||
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
|
with:
|
||||||
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
aws-region: us-east-1
|
||||||
|
- name: Deploy to Geoplatform AWS
|
||||||
|
run: aws s3 sync ./public/ s3://usds-geoplatform-justice40-website --delete
|
||||||
|
|
Loading…
Add table
Reference in a new issue