Skip to content

Commit

Permalink
feat: disable deployment and update golang
Browse files Browse the repository at this point in the history
  • Loading branch information
pascal-zarrad committed Apr 19, 2024
1 parent fe3047e commit 123a08a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.22

- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -39,7 +39,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.22

- name: Checkout repository
uses: actions/checkout@v3
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/deploy_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ name: Deploy Edge

on:
push:
branches:
- 'main'
branches: []

jobs:
edge:
Expand Down Expand Up @@ -65,14 +64,15 @@ jobs:
build_commit_sha=${{ steps.commit_sha.outputs.short }}
# Handle stage deployment
- name: Mask hidden URLs
run: |
echo "::add-mask::${{ secrets.APP_URL }}"
echo "::add-mask::${{ secrets.SSH_URL }}"
- name: Do deployment
uses: dokku/github-action@master
with:
git_remote_url: ${{ secrets.DEPLOYMENT_HOST }}
ssh_private_key: ${{ secrets.DEPLOYMENT_KEY }}
ssh_host_key: ${{ secrets.DEPLOYMENT_HOST_KEY }}
deploy_docker_image: "ghcr.io/lazybytez/jojo-discord-bot@${{ steps.build_push.outputs.digest }}"
# Currently disdabled
# - name: Mask hidden URLs
# run: |
# echo "::add-mask::${{ secrets.APP_URL }}"
# echo "::add-mask::${{ secrets.SSH_URL }}"
# - name: Do deployment
# uses: dokku/github-action@master
# with:
# git_remote_url: ${{ secrets.DEPLOYMENT_HOST }}
# ssh_private_key: ${{ secrets.DEPLOYMENT_KEY }}
# ssh_host_key: ${{ secrets.DEPLOYMENT_HOST_KEY }}
# deploy_docker_image: "ghcr.io/lazybytez/jojo-discord-bot@${{ steps.build_push.outputs.digest }}"
24 changes: 12 additions & 12 deletions .github/workflows/deploy_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ name: Deploy Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
tags: []

jobs:
release:
Expand Down Expand Up @@ -63,13 +62,14 @@ jobs:
build_commit_sha=${{ steps.commit_sha.outputs.short }}
# Handle prod deployment
- name: Mask hidden URLs
run: |
echo "::add-mask::${{ secrets.SSH_URL }}"
- name: Do deployment
uses: dokku/github-action@master
with:
git_remote_url: ${{ secrets.DEPLOYMENT_HOST }}
ssh_private_key: ${{ secrets.DEPLOYMENT_KEY }}
ssh_host_key: ${{ secrets.DEPLOYMENT_HOST_KEY }}
deploy_docker_image: "ghcr.io/lazybytez/jojo-discord-bot@${{ steps.build_push.outputs.digest }}"
# Currently disdabled
# - name: Mask hidden URLs
# run: |
# echo "::add-mask::${{ secrets.SSH_URL }}"
# - name: Do deployment
# uses: dokku/github-action@master
# with:
# git_remote_url: ${{ secrets.DEPLOYMENT_HOST }}
# ssh_private_key: ${{ secrets.DEPLOYMENT_KEY }}
# ssh_host_key: ${{ secrets.DEPLOYMENT_HOST_KEY }}
# deploy_docker_image: "ghcr.io/lazybytez/jojo-discord-bot@${{ steps.build_push.outputs.digest }}"

0 comments on commit 123a08a

Please sign in to comment.