Skip to content

Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#2277) #27

Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#2277)

Bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#2277) #27

Workflow file for this run

name: Deploy to GitHub Pages
# Declare default permissions as read only.
permissions: read-all
on:
push:
branches:
- main
jobs:
build-and-deploy:
permissions:
contents: write
runs-on: ubuntu-latest
if: github.repository == 'flutter/samples'
steps:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
with:
submodules: true
fetch-depth: 0
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- name: Init scripts
run: dart pub get
working-directory: web/_tool
- name: Build
run: dart run _tool/build_ci.dart
working-directory: web
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: web/samples_index/public