This commit is contained in:
Skylar Grant 2023-02-09 23:07:42 -05:00 committed by GitHub
parent f93fa41de1
commit 87e10db50b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: Silvanus Dockerization name: Silvanus-Dev Dockerization
on: on:
pull_request: pull_request:
@ -22,3 +22,9 @@ jobs:
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
- name: Push image to Docker Hub - name: Push image to Docker Hub
run: docker push v0idf1sh/silvanus run: docker push v0idf1sh/silvanus
- name: Set up a skeleton .env file
run: echo "TOKEN=${{secrets.PRODTOKEN}}" > .env && echo "clientId=${{ secrets.PRODCLIENTID }}" >> .env
- name: Install modules
run: npm i
- name: Refresh commands with Discord
run: node modules/_deploy-global.js