allow empty #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: Deploy V2 | |
# on: | |
# push: | |
# branches: ["master"] | |
# workflow_dispatch: | |
# concurrency: | |
# group: ${{ github.ref }} | |
# cancel-in-progress: true | |
# jobs: | |
# deploy: | |
# runs-on: ubuntu-latest | |
# environment: deploy | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-node@v3 | |
# with: | |
# node-version: 16.x | |
# cache: yarn | |
# - run: yarn | |
# - run: yarn build | |
# - name: Pinata | |
# id: pinata | |
# uses: anantaramdas/[email protected] | |
# with: | |
# pin-name: gmx-site | |
# path: './build' | |
# pinata-api-key: ${{ secrets.PINATA_API_KEY }} | |
# pinata-secret-api-key: ${{ secrets.PINATA_API_SECRET_KEY }} | |
# verbose: true | |
# remove-old: true | |
# - uses: tanmancan/[email protected] | |
# name: Setup ssh | |
# with: | |
# ssh-private-key: ${{ secrets.PRIVATE_NODE_SSH_KEY }} | |
# - name: Pin to private node | |
# run: ./scripts/pin-to-nodes.sh | |
# - name: Update DNS Netlify | |
# env: | |
# NETLIFY_API_KEY: ${{ secrets.NETLIFY_API_KEY }} | |
# NETLIFY_DNS_ZONE_ID: ${{ secrets.NETLIFY_DNS_ZONE_ID }} | |
# NETLIFY_DNS_LINK: ${{ secrets.NETLIFY_DNS_LINK }} | |
# IPFS_HASH: ${{ steps.pinata.outputs.hash }} | |
# run: node ./scripts/update-dns-netlify.mjs |