mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 01:15:41 +00:00
This commit is contained in:
parent
16db912909
commit
104778c5e4
@ -14,11 +14,6 @@ jobs:
|
||||
with:
|
||||
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
|
||||
run: ./decrypt_secrets.sh
|
||||
env:
|
||||
@ -44,6 +39,18 @@ jobs:
|
||||
file: ./Dockerfile
|
||||
push: true
|
||||
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
|
||||
continue-on-error: true
|
||||
|
Loading…
Reference in New Issue
Block a user