CodeYourFuture / CodeYourFuture/Module-Cloud

[TECH ED] GitHub Actions

Offen
#4 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
🎯 Topic Delivery 🎯 Topic Structuring Data 🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Cloud
Vorherrschende Sprache
Keine Sprachdaten
Sterne
0
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Link to the coursework

https://docs.github.com/en/actions

### Why are we doing this?

## Setup Github Actions for CYF Hotel Frontend deployments to S3

**Create GitHub Actions Workflow File:** In your CYF Hotel repository, create a new YAML file under the .github/workflows directory. Name it something relevant, like frontend-s3-deploy.yml.

**Configure AWS Credentials:** Utilize GitHub Secrets to securely store your AWS credentials. These secrets will be used in the GitHub Actions workflow to authenticate against AWS.

**Write S3 Deployment Steps:** In the YAML file, define the steps to install AWS CLI, configure AWS credentials, and sync your build folder to your S3 bucket.

**Test the Workflow:** Push a change to your repository or manually run the workflow from the GitHub Actions tab to verify that the S3 deployment works as expected.

### Maximum time in hours

2

### How to get help

Ask calm, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

### How to submit

In this advanced module you will demo your work. You may wish to make notes for case studies to add to your portfolio.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Erstelle .github/workflows/frontend-s3-deploy.yml und beginne mit der Durchsicht des GitHub Actions-Kurslinks. Konfiguriere GitHub Secrets, installiere und authentifiziere die AWS CLI und synchronisiere den build-Ordner mit dem S3-Bucket. Als erledigt gilt die Aufgabe, wenn ein push oder eine manuelle Ausführung über den Actions-Tab das Frontend erfolgreich bereitstellt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, github-actions
Bereich
ci-cd, cloud, devops
Issue-Typ
Feature
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.