Update workflow
Some checks failed
Build And Publish / BuildAndPublish (push) Failing after 1m48s

This commit is contained in:
Ryan Freeman 2024-08-22 21:20:45 +01:00
parent 16db912909
commit 104778c5e4

View File

@ -14,11 +14,6 @@ jobs:
with: with:
node-version: '18.17.0' node-version: '18.17.0'
# - name: Installing dependencies
# run: npm ci --legacy-peer-deps
# env:
# NODE_OPTIONS: --max_old_space_size=4096
- name: Decrypt secrets - name: Decrypt secrets
run: ./decrypt_secrets.sh run: ./decrypt_secrets.sh
env: env:
@ -44,6 +39,18 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
push: true push: true
tags: ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1 tags: ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
secrets: |
"SPOTIFY_CLIENT_ID=${{secrets.SPOTIFY_CLIENT_ID}}"
"SPOTIFY_CLIENT_SECRET=${{secrets.SPOTIFY_CLIENT_SECRET}}"
"SPOTIFY_REFRESH_TOKEN=${{secrets.SPOTIFY_REFRESH_TOKEN}}"
"NEXT_PUBLIC_SITE_URL=${{secrets.NEXT_PUBLIC_SITE_URL}}"
"GITHUB_ACCESS_TOKEN=${{secrets._GITHUB_ACCESS_TOKEN}}"
"GITHUB_USERNAME=${{secrets._GITHUB_USERNAME}}"
"GITHUB_CLIENT_ID=${{secrets._GITHUB_CLIENT_ID}}"
"GITHUB_SECRET=${{secrets._GITHUB_SECRET}}"
"NEXT_PUBLIC_SUPABASE_URL=${{secrets.NEXT_PUBLIC_SUPABASE_URL}}"
"NEXT_PUBLIC_SUPABASE_ANON_KEY=${{secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY}}"
"SUPABASE_SERVICE_ROLE_KEY=${{secrets.SUPABASE_SERVICE_ROLE_KEY}}"
- name: Stop the docker container - name: Stop the docker container
continue-on-error: true continue-on-error: true