Merge pull request #275 from jun-koyama-h:hotfix/lodash-pick #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Cloudflare | |
on: | |
push: | |
branches: [ development ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install & Build | |
run: | | |
cd news-on-earth | |
yarn install | |
yarn build | |
- name: Run Tests | |
run: | | |
cd news-on-earth | |
yarn test | |
- name: Publish to Cloudflare Pages | |
uses: cloudflare/pages-action@1 | |
with: | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID_DEV }} | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN_DEV }} | |
projectName: "news-on-earth" | |
directory: ./news-on-earth/dist |