CI Update
This commit is contained in:
parent
3127305c03
commit
d3a04921d6
8
.github/workflows/docker-image-dev.yml
vendored
8
.github/workflows/docker-image-dev.yml
vendored
@ -20,10 +20,4 @@ jobs:
|
|||||||
- name: Log into Docker Hub
|
- name: Log into Docker Hub
|
||||||
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
|
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
|
||||||
- name: Push image to Docker Hub v0idf1sh/silvanus-dev
|
- name: Push image to Docker Hub v0idf1sh/silvanus-dev
|
||||||
run: docker push v0idf1sh/silvanus-dev
|
run: docker push v0idf1sh/silvanus-dev
|
||||||
- name: Set up a skeleton .env file
|
|
||||||
run: echo "TOKEN=${{secrets.DEVTOKEN}}" > .env && echo "BOTID=${{ secrets.CLIENTID }}" >> .env
|
|
||||||
- name: Install modules
|
|
||||||
run: npm i
|
|
||||||
- name: Refresh commands with Discord
|
|
||||||
run: node modules/_deploy-global.js
|
|
8
.github/workflows/docker-image-prod.yml
vendored
8
.github/workflows/docker-image-prod.yml
vendored
@ -20,10 +20,4 @@ jobs:
|
|||||||
- name: Log into Docker Hub
|
- name: Log into Docker Hub
|
||||||
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
|
run: docker login -u $DHUB_UNAME -p $DHUB_PWORD
|
||||||
- name: Push image to Docker Hub v0idf1sh/silvanus
|
- name: Push image to Docker Hub v0idf1sh/silvanus
|
||||||
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
|
|
Loading…
Reference in New Issue
Block a user