Skip to content

Update deploy.yml

Update deploy.yml #14

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
types: [opened, synchronize]
workflow_dispatch:
permissions:
contents: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: 📦 Build
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Create environment variables
run: |
echo "NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}" > .env
echo "NOTION_DATABASE_ID: ${{ secrets.NOTION_DATABASE_ID }}" >> .env
- name: Install, build, and upload artifact
uses: withastro/action@v0