Add sameSite=strict to cookies config #384
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: Email Templates Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
email-templates-deploy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: mailmason | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install Ruby deps | |
run: | | |
gem install premailer | |
gem install nokogiri | |
- name: Install & build | |
run: | | |
yarn | |
yarn build | |
- name: Deploy Dev | |
run: yarn force-deploy | |
env: | |
POSTMARK_SERVER_TOKEN: ${{secrets.POSTMARK_DEV_SERVER_TOKEN}} | |
- name: Deploy Prod | |
run: yarn force-deploy | |
env: | |
POSTMARK_SERVER_TOKEN: ${{secrets.POSTMARK_PROD_SERVER_TOKEN}} |