Skip to content

Commit

Permalink
Create static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix authored Apr 20, 2024
1 parent b871f76 commit 073f963
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Build and Deploy
run: |
sh build.sh
cp -prvf build public
echo "User-agent: *" > public/robots.txt
echo "Allow: /" >> public/robots.txt
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: public
path: public

0 comments on commit 073f963

Please sign in to comment.