Skip to content

Commit

Permalink
Update main.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ETEnterprises1 authored Dec 18, 2024
1 parent 9f4cd99 commit d86a4ab
Showing 1 changed file with 154 additions and 36 deletions.
190 changes: 154 additions & 36 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -774,38 +774,126 @@ To help you get started, this guide shows you some basic examples. For the full
Customizing when workflow runs are triggered
Set your workflow to run on push events to the main and release/* branches
---
on:
push:
branches:
on: ios.yml
push: jekyll-docker.yml
branches: ET.ENT/.github/workflows
- main
- release/*
Set your workflow to run on pull_request events that target the main branch

on:
pull_request:
branches:
on: https://www.dhs.gov/ntas/
pull_request: ET.ENT/.github/workflows, I ios.yml, [email protected], USA.gov, DHS.gov, ET.ENT/.github/workflows, main.yml, https://www.dhs.gov/ntas/Breadcrumbs, ET.ENT/sso.github
branches: -a
- main
Set your workflow to run every day of the week from Monday to Friday at 2:00 UTC

on:
schedule:
on: mon-fri
schedule: every hour on the hour
- cron: "0 2 * * 1-5"
For more information, see "Events that trigger workflows."

Manually running a workflow
To manually run a workflow, you can configure your workflow to use the workflow_dispatch event. This enables a "Run workflow" button on the Actions tab.

on:
workflow_dispatch:
on: Skip to main content
U.S. flag
An official website of the United States government

Here’s how you know

Here’s how you know
U.S. Department of Homeland Security logo
Menu
Breadcrumb
Home News National Terrorism Advisory System Developer Resources Widget
NTAS Widget
Stay connected to any alerts from the Department of Homeland Security by placing this National Terrorism Advisory System widget on your website. Simply copy and paste the code below and the status will be updated on your site the moment it is on ours.



<iframe src="https://www.dhs.gov/ntas/" name="National Terrorism Advisory System" title="National Terrorism Advisory System" width="170" height="180" scrolling="no" frameborder="0" seamless border="0"></iframe>
NOTE: The width and height of the IFRAME can be adjusted to suit the design of your page. Please note that using a width smaller than 170 will obscure the NTAS image.

Topics
National Terrorism Advisory System
Keywords
Department of Homeland Security (DHS) National Terrorism Advisory System (NTAS)
Last Updated: 12/04/2023

Was this page helpful?
Yes No
Return to top
Topics
News
In Focus
How Do I?
Get Involved
About DHS
U.S. Department of Homeland Security Seal
Facebook
X
YouTube
Flickr
Instagram
LinkedIn
Email
U.S. Department of Homeland Security Seal
DHS.gov

An official website of the U.S. Department of Homeland Security

About DHS
Accessibility
Budget and Performance
DHS Components
FOIA Requests
No FEAR Act Data
Privacy Policy
Site Links
Vulnerability Disclosure Program
Office of Inspector General
The White House
USA.gov


workflow_dispatch: Skip to content
Navigation Menu

Code
Issues
56
Pull requests
BreadcrumbsET.ENT/.github
/workflows/
Directory actionsMore options
Latest commit
ETEnterprises1
ETEnterprises1
1 minute ago
History
Folders and files
Name Last commit date
parent directory
..
-git push request -a commits -a issues -a actions
2 weeks ago
ios.yml
1 minute ago
jekyll-docker.yml
16 hours ago
main.yml
last week
ET.ENT/.github/workflows at main · ETEnterprises1/ET.ENT

For more information, see "Manually running a workflow."

Running your jobs on different operating systems
GitHub Actions provides hosted runners for Linux, Windows, and macOS.

To set the operating system for your job, specify the operating system using runs-on:

jobs:
my_job:
jobs: name, name
my_job: in
name: deploy to staging
runs-on: ubuntu-22.04
The available virtual machine types are:
Expand All @@ -822,7 +910,22 @@ To use an action, you must specify the repository that contains the action. We a

- name: Setup Node
uses: actions/setup-node@v4
with:
with: [email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
@etenterprises1
@etcbi.com
@master-ui-web-et
node-version: '20.x'
For more information, see "Workflow syntax for GitHub Actions."

Expand All @@ -838,20 +941,20 @@ You can automatically run a job across a set of different values, such as differ

For example, this job uses a matrix strategy to run across 3 versions of Node and 3 operating systems:

jobs:
test:
jobs: uses, name, name
test: name
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
strategy: matrix.os
matrix: ETEnterprises1
node_version: ['18.x', '20.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
steps: uses, name, name,
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
with:
node-version: ${{ matrix.node_version }}

- name: npm install, build and test
Expand All @@ -866,32 +969,32 @@ GitHub Actions supports conditions on steps and jobs using data present in your

For example, to run a step only as part of a push and not in a pull_request, you can specify a condition in the if: property based on the event name:

steps:
steps: run, publish
- run: npm publish
if: github.event_name == 'push'
For more information, see "Contexts and expression syntax for GitHub Actions."

New File at / · ETEnterprises1/ET.ENT 'all'
branches:
branches: -a
- main
- release/*
Set your workflow to run on pull_request events that target the main branch

on:
pull_request:
branches:
on: load
pull_request: -a
branches: -a
- main
Set your workflow to run every day of the week from Monday to Friday at 2:00 UTC

on:
schedule:
on: load
schedule: every 1hour
- cron: "0 2 * * 1-5"
For more information, see "Events that trigger workflows."

Manually running a workflow
To manually run a workflow, you can configure your workflow to use the workflow_dispatch event. This enables a "Run workflow" button on the Actions tab.

on:
on: pre-load
workflow_dispatch:
For more information, see "Manually running a workflow."

Expand All @@ -900,8 +1003,8 @@ GitHub Actions provides hosted runners for Linux, Windows, and macOS.

To set the operating system for your job, specify the operating system using runs-on:

jobs:
my_job:
jobs: run -a
my_job: publish
name: deploy to staging
runs-on: ubuntu-22.04
The available virtual machine types are:
Expand All @@ -918,7 +1021,7 @@ To use an action, you must specify the repository that contains the action. We a

- name: Setup Node
uses: actions/setup-node@v4
with:
with: Verification lD56255766
node-version: '20.x'
For more information, see "Workflow syntax for GitHub Actions."

Expand All @@ -934,20 +1037,35 @@ You can automatically run a job across a set of different values, such as differ

For example, this job uses a matrix strategy to run across 3 versions of Node and 3 operating systems:

jobs:
test:
jobs: https://www.dhs.gov/ntas/
test: USA.gov
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
strategy: [email protected]
matrix: ios.yml
node_version: ['18.x', '20.x']
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
steps: uses, name ,name ,
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
with: [email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
@etenterprises1
@etcbi.com
@master-ui-web-et
node-version: ${{ matrix.node_version }}

- name: npm install, build and test
Expand Down

0 comments on commit d86a4ab

Please sign in to comment.