Skip to content

feat: adds windows templates #24

feat: adds windows templates

feat: adds windows templates #24

Workflow file for this run

name: push
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
# Re-push all templates?
# https://crontab.guru/#0_0_*_*_5
- cron: "0 0 * * 5"
permissions:
actions: read
checks: none
contents: read
id-token: write
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: write
statuses: none
jobs:
quick:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- name: Cancel previous runs
if: github.event_name == 'pull_request'
uses: styfle/[email protected]
- name: Checkout
uses: actions/checkout@v4
- name: Check formatting
uses: dprint/[email protected]
templates:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
if: github.event_name == 'pull_request'
uses: styfle/[email protected]
- name: Checkout
uses: actions/checkout@v4
- name: Install Coder CLI
run: |
curl -L https://coder.com/install.sh | sh
- name: Push Templates to Coder
run: |
${{ github.workspace }}/.scripts/push.sh \
--directory "${{ github.workspace }}" \
--targets "${{ secrets.CODER_TARGETS }}"