Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

chore(deps-dev): bump postcss from 8.4.14 to 8.4.31 #1605

chore(deps-dev): bump postcss from 8.4.14 to 8.4.31

chore(deps-dev): bump postcss from 8.4.14 to 8.4.31 #1605

Workflow file for this run

name: Deploy to S3
on:
schedule:
- cron: '5 3 * * 1'
push:
branches:
- master
pull_request:
branches:
- master
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-1
- name: Install Dependencies
run: npm install
- name: Transpile
run: |
yarn build
yarn build:og-gen
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
GATSBY_TEST_STRIPE_PUBLIC_KEY: ${{ secrets.GATSBY_TEST_STRIPE_PUBLIC_KEY }}
GATSBY_TEST_LAMBDA_ENDPOINT: ${{ secrets.GATSBY_TEST_LAMBDA_ENDPOINT }}
GATSBY_LIVE_STRIPE_PUBLIC_KEY: ${{ secrets.GATSBY_LIVE_STRIPE_PUBLIC_KEY }}
GATSBY_LIVE_LAMBDA_ENDPOINT: ${{ secrets.GATSBY_LIVE_LAMBDA_ENDPOINT }}
- name: Deploy to S3
run: aws s3 sync ./public/ s3://yuma-kitamura.nekohack.me/ --delete --acl public-read
# - name: Clear cache in CloudFront
# uses: chetan/[email protected]
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: ap-northeast-1
# DISTRIBUTION: ${{ secrets.DISTRIBUTION }}
# PATHS: "/*"