Skip to content

Commit ec86d4b

Browse files
authored
Update publish.yml
1 parent bce137c commit ec86d4b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/publish.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,24 @@ jobs:
1414
env:
1515
NODE_ENV: "test"
1616
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
17+
1718
steps:
1819
- uses: actions/checkout@v2
20+
1921
- run: yarn && yarn test
2022

2123
deploy:
2224
needs: test
2325
# Only runs on if it's a push event on main
2426
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
27+
environment: deploy
2528
runs-on: ubuntu-latest
29+
2630
steps:
27-
- run: echo "Hi"
31+
- uses: actions/checkout@v2
32+
33+
- uses: digitalocean/action-doctl@v2
34+
with:
35+
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
36+
37+

0 commit comments

Comments
 (0)