Patch backend CI #7
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 | |
on: | |
push: | |
branches: | |
- master | |
env: | |
NODE_OPTIONS: "--max_old_space_size=8192" | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Build | |
working-directory: ./web | |
run: NODE_ENV=production pnpm run build | |
- name: Edgeserver Upload | |
uses: lvkdotsh/[email protected] | |
with: | |
app_id: "380237974857584640" | |
server: https://api.edgeserver.io | |
token: ${{ secrets.SIGNAL_TOKEN }} | |
directory: web/dist |