Playing around with options for base structure and navigation
This commit is contained in:
@@ -2,8 +2,6 @@ name: Build and Test
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
# pull_request:
|
||||
# branches: [main]
|
||||
|
||||
jobs:
|
||||
determine_version:
|
||||
@@ -30,13 +28,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
needs: determine_version
|
||||
steps:
|
||||
- name: Checkout Obsidian Repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: caperren/obsidian
|
||||
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||
path: obsidian
|
||||
|
||||
- name: Checkout caperren-com Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -52,12 +43,6 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Copy Website Obsidian Content
|
||||
run: |
|
||||
mv "${{ gitea.workspace }}/caperren-com/src/content/config.ts" "${{ gitea.workspace }}/caperren-com/src/config.ts"
|
||||
rm -rf "${{ gitea.workspace }}/caperren-com/src/content"
|
||||
mv "${{ gitea.workspace }}/obsidian/00002 - Projects/Websites/caperren-com" "${{ gitea.workspace }}/caperren-com/src/content"
|
||||
mv "${{ gitea.workspace }}/caperren-com/src/config.ts" "${{ gitea.workspace }}/caperren-com/src/content/config.ts"
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
@@ -73,17 +58,7 @@ jobs:
|
||||
needs: build_and_push
|
||||
steps:
|
||||
- run: echo "Placeholder"
|
||||
# - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
# - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
# - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
# - name: Check out repository code
|
||||
# uses: actions/checkout@v4
|
||||
# - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
# - run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
# - name: List files in the repository
|
||||
# run: |
|
||||
# ls ${{ gitea.workspace }}
|
||||
# - run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
|
||||
deploy_production:
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
|
||||
Reference in New Issue
Block a user