Skip to content

Commit

Permalink
chore: deploy via github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-braz committed Nov 29, 2023
1 parent 6b086d2 commit ddf608e
Show file tree
Hide file tree
Showing 32 changed files with 42 additions and 99,235 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy to GitHub Pages

on:
push:
branches: ["master"]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy-example:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Setup GitHub Pages
uses: actions/configure-pages@v3
- name: Build project
working-directory: ./
run: flutter build web --no-source-maps --base-href /flutter_sp_social/
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './build/web'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
1 change: 0 additions & 1 deletion docs/.last_build_id

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/AssetManifest.bin

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/AssetManifest.json

This file was deleted.

1 change: 0 additions & 1 deletion docs/assets/FontManifest.json

This file was deleted.

33,329 changes: 0 additions & 33,329 deletions docs/assets/NOTICES

This file was deleted.

13 changes: 0 additions & 13 deletions docs/assets/data/15.json

This file was deleted.

32 changes: 0 additions & 32 deletions docs/assets/data/default.json

This file was deleted.

Binary file removed docs/assets/fonts/MaterialIcons-Regular.otf
Binary file not shown.
Binary file removed docs/assets/images/dash.png
Binary file not shown.
Binary file not shown.
160 changes: 0 additions & 160 deletions docs/assets/shaders/ink_sparkle.frag

This file was deleted.

Loading

0 comments on commit ddf608e

Please sign in to comment.