Add release post for 0.15.0 #97
Workflow file for this run
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: Build and deploy | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
vale: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: errata-ai/vale-action@reviewdog | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
reporter: github-check | |
vale_flags: '--no-wrap --sort' | |
deploy: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/inko-lang/inko:latest | |
needs: | |
- vale | |
if: | | |
github.repository == 'inko-lang/website' && github.ref_name == 'main' | |
steps: | |
- name: Installing dependencies | |
run: microdnf install --quiet --assumeyes make git tar npm | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
build | |
~/.local/share/inko/packages | |
~/.npm | |
key: ${{ runner.os }} | |
- run: make setup build deploy | |
env: | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} |