Skip to content

Commit

Permalink
fixed the docker deploy job.
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgul committed Dec 11, 2024
1 parent 1ccd1ce commit be6b545
Showing 1 changed file with 2 additions and 24 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
echo VERSION=$VERSION >> $GITHUB_ENV
- name: Deploy Beta Site
uses: nvti/portainer-stack-deploy@v1.4
uses: Morgul/portainer-stack-deploy@v1.2.0
with:
portainer-host: ${{ vars.PORTAINER_HOST }}
endpoint-id: 2
Expand All @@ -111,17 +111,6 @@ jobs:
prune-stack: false
pull-image: true

# - name: Deploy Beta Site
# uses: SkewedAspect/[email protected]
# env:
# RANCHER_BEARER_TOKEN: ${{ secrets.RANCHER_API_KEY }}
# RANCHER_CLUSTER_ID: 'c-g65ld'
# RANCHER_NAMESPACE: 'rpgkeeper'
# RANCHER_PROJECT_ID: 'p-7wdzf'
# RANCHER_URL: 'https://rancher.skewedaspect.com/'
# RANCHER_WORKLOAD: 'rpgkeeper-beta'
# IMAGE_TAG: ${{ env.VERSION }}

# Deploys prod docker
deploy-prod:
needs: push
Expand All @@ -145,7 +134,7 @@ jobs:
echo VERSION=$VERSION >> $GITHUB_ENV
- name: Deploy Production Site
uses: nvti/portainer-stack-deploy@v1.4
uses: Morgul/portainer-stack-deploy@v1.2.0
with:
portainer-host: ${{ vars.PORTAINER_HOST }}
endpoint-id: 2
Expand All @@ -156,14 +145,3 @@ jobs:
template-variables: '{"version": "${{ env.VERSION }}", "client": "${{ secrets.GOOGLE_CLIENT_ID }}", "secret": "${{ secrets.GOOGLE_CLIENT_SECRET }}", "sess": "${{ secrets.PROD_SESSION_SECRET }}"}'
prune-stack: false
pull-image: true

# - name: Deploy Production Site
# uses: SkewedAspect/[email protected]
# env:
# RANCHER_BEARER_TOKEN: ${{ secrets.RANCHER_API_KEY }}
# RANCHER_CLUSTER_ID: 'c-g65ld'
# RANCHER_NAMESPACE: 'rpgkeeper'
# RANCHER_PROJECT_ID: 'p-7wdzf'
# RANCHER_URL: 'https://rancher.skewedaspect.com/'
# RANCHER_WORKLOAD: 'rpgkeeper'
# IMAGE_TAG: ${{ env.VERSION }}

0 comments on commit be6b545

Please sign in to comment.