Skip to content
Permalink
Browse files

Merge pull request #121 from tegon/dev

v2.1.0
  • Loading branch information...
rafaelgssa committed Sep 29, 2019
2 parents bad78bd + 087e5c4 commit f62314938610c104e0e84d4cef355ff96f1cb9db
Showing with 2 additions and 2 deletions.
  1. +2 −2 .github/workflows/production.yml
@@ -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'

0 comments on commit f623149

Please sign in to comment.
You can’t perform that action at this time.