Skip to content

Commit ec6dc1e

Browse files
Merge pull request #303 from pulsar-edit/11ty-migration
Migrate site to new format
2 parents a719fbf + 413bd1a commit ec6dc1e

File tree

731 files changed

+13420
-3581714
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

731 files changed

+13420
-3581714
lines changed

.editorconfig

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
deploy:
11+
environment:
12+
name: github-pages
13+
url: ${{ steps.deployment.outputs.page_url }}
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
pages: write
18+
id-token: write
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v3
23+
24+
- name: Install NodeJS
25+
uses: actions/setup-node@v3
26+
with:
27+
node-version: 18
28+
29+
- name: Install Dependencies
30+
run: npm install
31+
32+
- name: Build Site
33+
run: npm run build
34+
35+
- name: Upload Artifact
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: "./_dist"
39+
40+
- name: Deploy to GitHub pages
41+
id: deployment
42+
uses: actions/deploy-pages@v4

.github/workflows/deploy-pnpm.yaml

Lines changed: 0 additions & 60 deletions
This file was deleted.

.github/workflows/deploy.yaml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/lint.yaml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/workflows/spell-checker.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/test-deploy-pnpm.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/test-deploy.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Update Pulsar Version
2+
3+
on:
4+
issues:
5+
types: [ labeled ]
6+
7+
jobs:
8+
update_docs:
9+
if: contains(github.event.issue.labels.*.name, 'update-version')
10+
runs-on: ubuntu
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
15+
steps:
16+
- name: Checkout Latest Code
17+
uses: actions/checkout@v3
18+
19+
- name: Install NodeJS
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: 18
23+
24+
- name: Install Dependencies
25+
run: npm install
26+
27+
- name: Update Latest Pulsar Version
28+
run: node ./update-latest-version.js ${{ github.event.issue.title }}
29+
30+
- name: Create Pull Request with Changes
31+
uses: peter-evans/create-pull-request@v4
32+
with:
33+
# If we ever start running tests on PRs we will need to provide a custom
34+
# PAT token here to ensure additional workflows are allowed to run.
35+
# https://github.com/pulsar-edit/pulsar-chocolatey/blob/main/.github/workflows/draft_publish.yml
36+
# token: ${{ secrets.<TOKEN_NAME_TO_ADD> }}
37+
commit-message: Auto update source code documentation
38+
branch: docs-update-${{ github.event.issue.title }}
39+
delete-branch: true
40+
title: '[${{ github.event.issue.title }}] Documentation Update'
41+
body: |
42+
Automated update of Source Code documentation.
43+
Will close #${{ github.event.issue.number }}
44+
draft: false

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/node_modules
2-
docs/.vuepress/.cache
3-
docs/.vuepress/.temp
4-
docs/.vuepress/dist/*
52
.DS_Store
3+
_dist
4+
docs_old
5+
#Temporary ^^

0 commit comments

Comments
 (0)