diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ddef59..014ea1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/deploy_edge.yml b/.github/workflows/deploy_edge.yml index 987d24c..2f4557d 100644 --- a/.github/workflows/deploy_edge.yml +++ b/.github/workflows/deploy_edge.yml @@ -4,8 +4,7 @@ name: Deploy Edge on: push: - branches: - - 'main' + branches: [] jobs: edge: @@ -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 }}" diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 87c5369..1845d96 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -4,8 +4,7 @@ name: Deploy Release on: push: - tags: - - 'v[0-9]+.[0-9]+.[0-9]+' + tags: [] jobs: release: @@ -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 }}"