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

Commit

Permalink
feat: github actions + some CI things
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Mar 26, 2024
1 parent 7d375f2 commit 1dab914
Show file tree
Hide file tree
Showing 7 changed files with 417 additions and 67 deletions.
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/bug-report.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/ISSUE_TEMPLATE/feature-request.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/issue-management.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Issue Management
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Auto-assign issue
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: tulilirockz
numOfAssignee: 1
- name: Add to Project Tracking
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/atomic-studio-org/projects/3
github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!---
## Thank you for contributing to the Atomic Studio project!
Please [read the Contributor's Guide](https://github.com/atomic-studio-org/.github/CONTRIBUTING.md) before submitting a pull request.
-->
24 changes: 24 additions & 0 deletions .github/workflows/issue-management.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Issue Management
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Auto-assign issue
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: tulilirockz
numOfAssignee: 1
- name: Add to Project Tracking
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/atomic-studio-org/projects/3
github-token: ${{ secrets.ADD_TO_PROJECT_TOKEN }}
50 changes: 50 additions & 0 deletions .github/workflows/next-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Publish to Github Pages
on:
workflow_dispatch:
push:
branches:
- main

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Setup Pages
uses: actions/configure-pages@v4
with:
static_site_generator: next

- name: Build static website
run: bun run build

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
needs: build

steps:
- name: Publish to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Loading

0 comments on commit 1dab914

Please sign in to comment.