Skip to content

Make show hide button bigger and misc. #31

Make show hide button bigger and misc.

Make show hide button bigger and misc. #31

Workflow file for this run

name: CD
on:
push:
branches:
- prod
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: CamiloGarciaLaRotta/watermelon-http-client@v1
id: request
with:
url: "https://spyfall.tannerkrewson.com/lock"
method: post
headers: '{"Content-Type": "application/json" }'
data: '{ "password": "${{ secrets.ADMIN_PASSWORD }}" }'
- name: Print the response code of the lock
run: echo ${{ steps.request.outputs.status }}
shell: bash
- name: Wait 10 minutes for in-progress games to finish up (wait 8m + 2m for deploy)
uses: jakejarvis/[email protected]
with:
time: "8m"
- uses: actions/checkout@v4
with:
ref: "prod"
fetch-depth: "0"
- name: Dokku deploy
uses: dokku/github-action@master
with:
git_push_flags: "--force"
git_remote_url: "ssh://[email protected]:22/spyfall"
ssh_private_key: ${{ secrets.PRIVATE_KEY }}
branch: "prod"