summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFOSSEE SysAds2024-12-23 16:38:54 +0530
committerGitHub2024-12-23 16:38:54 +0530
commit5a2ae00dec21ddbd826cd1ba9f2e00bb15aaf8d9 (patch)
treed0fe2221789ae90b293cd36758e42ea1794c71fe
parentf87fc9fcb82a4af59f2f35b2c36ec34ac54a50eb (diff)
downloadscilab_case_study_hackathon-5a2ae00dec21ddbd826cd1ba9f2e00bb15aaf8d9.tar.gz
scilab_case_study_hackathon-5a2ae00dec21ddbd826cd1ba9f2e00bb15aaf8d9.tar.bz2
scilab_case_study_hackathon-5a2ae00dec21ddbd826cd1ba9f2e00bb15aaf8d9.zip
Create astro.yml
Added runner config
-rw-r--r--.github/workflows/astro.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/astro.yml b/.github/workflows/astro.yml
new file mode 100644
index 0000000..42d84a6
--- /dev/null
+++ b/.github/workflows/astro.yml
@@ -0,0 +1,26 @@
+name: Deploy Scilab Astro to Site
+
+on:
+ # Trigger the workflow every time you push to the `main` branch
+ # Using a different branch name? Replace `main` with your branch’s name
+ push:
+ branches: [ main ]
+ # Allows you to run this workflow manually from the Actions tab on GitHub.
+ workflow_dispatch:
+
+# Allow this job to clone the repo and create a page deployment
+permissions:
+ contents: read
+ pages: write
+ id-token: write
+jobs:
+ build:
+ runs-on: sci-hack-self
+ steps:
+ - name: Checkout your repository using git
+ uses: actions/checkout@v3
+ - name: Install, build, and upload your site
+ uses: withastro/action@v2
+ - name: Create folder
+ run: |
+ mkdir -p /home/github/scilab-hackathon.fossee.in/prod && cp -R dist /home/github/scilab-hackathon.fossee.in/prod