Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to add deepscan runs #51

Merged
merged 10 commits into from
Oct 31, 2024
Merged
16 changes: 14 additions & 2 deletions .github/workflows/azure-deploy-f24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@ jobs:
uses:
./.github/workflows/test.yaml

deepscan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run DeepScan
uses: deepscan/deepscan-action@v1
with:
token: ${{ secrets.DEEPSCAN_API_KEY }}

build-and-deploy:
if: github.repository == 'cmu-313/nodebb-f24-d-buggers'
needs: lint-and-test
needs: [lint-and-test, deepscan]

runs-on: ubuntu-latest

Expand All @@ -32,7 +41,7 @@ jobs:
with:
node-version: '20.17.0'


- name: Set up NodeBB
run: |
./nodebb setup '{"url":"https://nodebb-d-buggers.azurewebsites.net:443",
Expand All @@ -49,6 +58,9 @@ jobs:
run: |
npm install https://github.com/CMU-313/nodebb-frontend-f24-d-buggers.git

- name: Rebuild NodeBB
run: ./nodebb build

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
Expand Down