Skip to content

Merge pull request #551 from marlon360/dependabot/npm_and_yarn/sharp-… #140

Merge pull request #551 from marlon360/dependabot/npm_and_yarn/sharp-…

Merge pull request #551 from marlon360/dependabot/npm_and_yarn/sharp-… #140

Workflow file for this run

name: Deploy to Railway
on:
push:
branches:
- "v2"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node 17
uses: actions/setup-node@v1
with:
node-version: 17.x
- name: Install redis
run: sudo apt-get install -y redis-tools redis-server
- name: Flush redis database
run: redis-cli -u ${{ secrets.REDIS_URL }} FLUSHDB
- name: Purge cache
uses: jakejarvis/cloudflare-purge-action@master
env:
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}