Skip to content

Update redirect test #2308

Update redirect test

Update redirect test #2308

Workflow file for this run

name: Node CI
# Push tests pushes; PR tests merges
on: [ push, pull_request ]
jobs:
# Test the build
build:
# Setup
runs-on: ubuntu-latest
# Go
steps:
- name: Build App
uses: architect/action-build@v3
with:
node-version: lts/*
# Assuming all that went fine (and it's main): deploy!
deploy:
# Setup
needs: build
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
# Go
steps:
- name: Deploy app
uses: architect/action-deploy@v1
with:
node-version: lts/*
aws_access_key_id: ${{secrets.AWS_ACCESS_KEY_ID}}
aws_secret_access_key: ${{secrets.AWS_SECRET_ACCESS_KEY}}
- name: Notify
uses: sarisia/actions-status-discord@v1
if: always()
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "deploy build"
color: 0x222222
username: GitHub Actions