From 51409f2bf977ad6efa511b0526a6b899ebb5291b Mon Sep 17 00:00:00 2001 From: Benjamin Degenhart Date: Tue, 29 Oct 2024 15:54:42 +0100 Subject: [PATCH] Setup basic deployment logic --- .github/workflows/pipeline.yml | 23 +++++++++++++++++++++++ .gitignore | 2 ++ README.md | 4 ++-- package-lock.json | 12 ++++++++++++ package.json | 6 ++++++ index.html => public/index.html | 0 6 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/pipeline.yml create mode 100644 .gitignore create mode 100644 package-lock.json create mode 100644 package.json rename index.html => public/index.html (100%) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..916ca72 --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,23 @@ +name: Prepare gh-pages branch + +on: + push: + branches: + - main + repository_dispatch: + types: [ external-console-deployment-trigger ] + +jobs: + deploy: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Deploy to gh-pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + force_orphan: true + allow_empty_commit: true diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fe1b00 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea/ +node_modules/ diff --git a/README.md b/README.md index 5d5b85d..f557137 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# console -A console for working directly with all triples +# FörderFunke Console +Playground and discovery tool for all Linked Data in the FörderFunke project. diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..c6c6449 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,12 @@ +{ + "name": "foerderfunke-console", + "version": "0.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "foerderfunke-console", + "version": "0.0.1" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..104be37 --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "name": "foerderfunke-console", + "version": "0.0.1", + "description": "Playground and discovery tool for all Linked Data in the FörderFunke project", + "dependencies": {} +} diff --git a/index.html b/public/index.html similarity index 100% rename from index.html rename to public/index.html