Skip to content

Commit

Permalink
Merge pull request #831 from MTES-MCT/fix-manual-deploy
Browse files Browse the repository at this point in the history
chore: fix review app manual deploy (update)
  • Loading branch information
loicguillois authored Jul 31, 2024
2 parents a29410e + 4842b98 commit 4913fe0
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/review-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,21 +141,6 @@ jobs:
env:
APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-queue
steps:
- name: Fetch pull request information
id: fetch_pr
uses: actions/github-script@v6
with:
script: |
const pr_number = ${{ github.event.inputs.pull_request_number }};
const { context, getOctokit } = require('@actions/github');
const octokit = getOctokit(process.env.GITHUB_TOKEN);
const pr = await octokit.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr_number
});
return { pr: pr.data };
- name: Extract branch name
id: extract_branch
run: |
Expand Down Expand Up @@ -221,21 +206,6 @@ jobs:
env:
APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-front
steps:
- name: Fetch pull request information
id: fetch_pr
uses: actions/github-script@v6
with:
script: |
const pr_number = ${{ github.event.inputs.pull_request_number }};
const { context, getOctokit } = require('@actions/github');
const octokit = getOctokit(process.env.GITHUB_TOKEN);
const pr = await octokit.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr_number
});
return { pr: pr.data };
- name: Extract branch name
id: extract_branch
run: |
Expand Down Expand Up @@ -345,21 +315,6 @@ jobs:
env:
APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-front
steps:
- name: Fetch pull request information
id: fetch_pr
uses: actions/github-script@v6
with:
script: |
const pr_number = ${{ github.event.inputs.pull_request_number }};
const { context, getOctokit } = require('@actions/github');
const octokit = getOctokit(process.env.GITHUB_TOKEN);
const pr = await octokit.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr_number
});
return { pr: pr.data };
- name: Extract branch name
id: extract_branch
run: |
Expand Down Expand Up @@ -397,21 +352,6 @@ jobs:
env:
APP_ALIAS: pr${{ github.event.inputs.pull_request_number }}-queue
steps:
- name: Fetch pull request information
id: fetch_pr
uses: actions/github-script@v6
with:
script: |
const pr_number = ${{ github.event.inputs.pull_request_number }};
const { context, getOctokit } = require('@actions/github');
const octokit = getOctokit(process.env.GITHUB_TOKEN);
const pr = await octokit.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr_number
});
return { pr: pr.data };
- name: Extract branch name
id: extract_branch
run: |
Expand Down

0 comments on commit 4913fe0

Please sign in to comment.