mirror of
https://github.com/djkotowski/personal-website.git
synced 2026-11-10 05:14:09 -06:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6c562b012 | ||
|
|
c0be5deab6 |
No files matched your search
@@ -1,18 +1,22 @@
|
||||
name: deploy
|
||||
run-name: "${{ github.actor }} is deploying ${{ github.sha }}"
|
||||
run-name: "${{ github.actor }} is deploying ${{ github.event.workflow_run.head_sha }}"
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
workflow_run:
|
||||
workflows: ['ci-test']
|
||||
types: [completed]
|
||||
branches: ['main']
|
||||
concurrency:
|
||||
group: pages
|
||||
cancel-in-progress: false
|
||||
jobs:
|
||||
build:
|
||||
if: github.event.workflow_run.conclusion == 'success'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ github.event.workflow_run.head_sha }}
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v5
|
||||
- name: Setup Node.js
|
||||
@@ -41,6 +45,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
ref: ${{ github.event.workflow_run.head_sha }}
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v5
|
||||
@@ -48,6 +54,7 @@ jobs:
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
tag="deploy-$(date +%Y-%m-%d)-${GITHUB_SHA::7}"
|
||||
git tag "$tag"
|
||||
sha="${{ github.event.workflow_run.head_sha }}"
|
||||
tag="deploy-$(date +%Y-%m-%d)-${sha::7}"
|
||||
git tag "$tag" "$sha"
|
||||
git push origin "$tag"
|
||||
Generated
+4
-4
@@ -10,7 +10,7 @@ importers:
|
||||
dependencies:
|
||||
tailwind-merge:
|
||||
specifier: ^3.1.0
|
||||
version: 3.6.0
|
||||
version: 3.7.0
|
||||
devDependencies:
|
||||
'@sveltejs/vite-plugin-svelte':
|
||||
specifier: ^7.2.0
|
||||
@@ -508,8 +508,8 @@ packages:
|
||||
resolution: {integrity: sha512-p4HDLDogGHKRKCrgckQHNs5PEfXkju6JI5jTywueaKJI5hAdjPohEhRtQ0M1SWC/+TA73SPln+r7srr+7e4nZA==}
|
||||
engines: {node: '>=18'}
|
||||
|
||||
tailwind-merge@3.6.0:
|
||||
resolution: {integrity: sha512-uxL7qAVQriqRQPAyK3pj66VqskWqoZ37PW94jwOTwNfq/z9oyu1V+eqrZqtR2+fCiXdYOZe/Modt8GtvqNzu+w==}
|
||||
tailwind-merge@3.7.0:
|
||||
resolution: {integrity: sha512-XPPUyAc+cvspz3lHTcR/QgPfW2A0lv/xQNIjX3HGhLR+Nq2lHaLq5MtTesHn8GUr3W3DguT2KT5x3NVgRtYwmA==}
|
||||
|
||||
[email protected]:
|
||||
resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==}
|
||||
@@ -955,7 +955,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- '@typescript-eslint/types'
|
||||
|
||||
tailwind-merge@3.6.0: {}
|
||||
tailwind-merge@3.7.0: {}
|
||||
|
||||
[email protected]: {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user