Make sure we ALWAYS generate a valid imgix url #84
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: Kitsu Web Deployment | |
on: | |
push: | |
branches: | |
- the-future | |
jobs: | |
deploy: | |
name: Node ${{ matrix.node_version}} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node_version: [14] | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Use Node ${{ matrix.node_version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: Restore Cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
node_modules | |
key: ${{ matrix.os }}-${{ matrix.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ matrix.os }}-${{ matrix.node_version }}-yarn- | |
- name: Install Dependencies | |
run: yarn install --pure-lockfile | |
- name: Build App | |
run: yarn ember deploy production | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |