Skip to content

Merge pull request #142 from NFTX-project/vault-icon-8453-v3-5 #303

Merge pull request #142 from NFTX-project/vault-icon-8453-v3-5

Merge pull request #142 from NFTX-project/vault-icon-8453-v3-5 #303

Workflow file for this run

name: Upload Website
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --follow-symlinks --delete --exclude '.git/*'
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 }}
AWS_REGION: 'us-east-1' # optional: defaults to us-east-1
# SOURCE_DIR: 'public' # optional: defaults to entire repository
- name: Purge cache
uses: jakejarvis/cloudflare-purge-action@master
env:
# Zone is required by both authentication methods
CLOUDFLARE_ZONE: ${{ secrets.CF_ZONE_ID }}
CLOUDFLARE_TOKEN: ${{ secrets.CF_AUTH_KEY }}
PURGE_URLS: '["https://tokenlist.nftx.io", "https://assets.nftx.io/*"]'