diff --git a/.forgejo/workflows/build-docker-image.yaml b/.forgejo/workflows/build-docker-image.yaml index ee1c684..434145d 100644 --- a/.forgejo/workflows/build-docker-image.yaml +++ b/.forgejo/workflows/build-docker-image.yaml @@ -25,3 +25,18 @@ jobs: tags: | git.alecodes.page/alecodes/page:latest git.alecodes.page/alecodes/page:${{ github.sha }} + + deploy: + runs-on: ubuntu-latest + needs: + - create-docker-images + steps: + - name: 'Docker Stack Deploy' + uses: cssnr/stack-deploy-action@v1 + with: + host: ${{ variables.DOCKER_SWARM_HOST }} + port: ${{ variables.DOCKER_SWARM_PORT }} + user: ${{ secrets.DOCKER_SWARM_USER }} + ssh_key: '${{ secrets.DOCKER_SWARM_SSH_KEY }}' + file: 'docker-stack.yaml' + name: 'personal-page' diff --git a/content/_index.md b/content/_index.md index 488c699..2f11bb4 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,4 +2,4 @@ +++ -# This is a awesome page :D +# This is a **really** awesome page :D