Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #121 from tegon/dev
Browse files Browse the repository at this point in the history
v2.1.0
  • Loading branch information
Rafael Gomes authored Sep 29, 2019
2 parents bad78bd + 087e5c4 commit f623149
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
run: npm ci
- if: github.repository == 'rafaelgssa/traktflix'
name: 'Generate config.json'
run: 'echo "{ \"development\": { \"clientId\": \"${{ secrets.TRAKT_CLIENT_ID }}\", \"clientSecret\": \"${{ secrets.TRAKT_CLIENT_SECRET }}\", \"rollbarToken\": \"${{ secrets.ROLLBAR_TOKEN }}\", \"tmdbApiKey\": \"${{ secrets.TMDB_API_KEY }}\", \"chromeExtensionKey\": \"${{ secrets.CHROME_EXTENSION_KEY }}\", \"firefoxExtensionId\": \"${{ secrets.FIREFOX_EXTENSION_ID }}\" } }" >> ./config.json'
run: 'echo "{ \"production\": { \"clientId\": \"${{ secrets.TRAKT_CLIENT_ID }}\", \"clientSecret\": \"${{ secrets.TRAKT_CLIENT_SECRET }}\", \"rollbarToken\": \"${{ secrets.ROLLBAR_TOKEN }}\", \"tmdbApiKey\": \"${{ secrets.TMDB_API_KEY }}\", \"chromeExtensionKey\": \"${{ secrets.CHROME_EXTENSION_KEY }}\", \"firefoxExtensionId\": \"${{ secrets.FIREFOX_EXTENSION_ID }}\" } }" >> ./config.json'
- if: github.repository != 'rafaelgssa/traktflix'
name: 'Generate empty config.json'
run: 'echo "{ \"development\": { \"clientId\": \"\", \"clientSecret\": \"\", \"rollbarToken\": \"\", \"tmdbApiKey\": \"\", \"chromeExtensionKey\": \"\", \"firefoxExtensionId\": \"\" } }" >> ./config.json'
run: 'echo "{ \"production\": { \"clientId\": \"\", \"clientSecret\": \"\", \"rollbarToken\": \"\", \"tmdbApiKey\": \"\", \"chromeExtensionKey\": \"\", \"firefoxExtensionId\": \"\" } }" >> ./config.json'
- name: 'Run build'
run: npm run build
- name: 'Zip dist'
Expand Down

0 comments on commit f623149

Please sign in to comment.